const mongoose = require('../../mongoose')

const teamSchema = mongoose.Schema({
  // id: {
  //   type: String
  // },
  name: String,
  desc: String,
  imgurl: String,
  imgbase: String,
  status: {
    type: Number,
    default: 1
  }, // 1 显示 || 2 隐藏
  datetime: {
    type: Date,
    default: Date.now
  }
})

module.exports = mongoose.model('banner', teamSchema)
